package com.Logistics.mycommon.pojo.pdbase;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 司机表
 * </p>
 *
 * @author PinDaLogistics
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdTruckDriver对象", description="司机表")
public class PdTruckDriver implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "用户id，来自用户表")
    private String userId;

    @ApiModelProperty(value = "所属车队id")
    private String fleetId;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "驾龄")
    private Integer drivingAge;


}
